package com.zretc.entity;
/**
 * 粉丝表（用户间相互关注）
 * @author yejingbin
 *
 */
public class Fans {
	private Integer accountId;      //用户Id（主键）
	private Account account;      	//用户对象
	private Integer fansId;         //粉丝Id（相对的用户Id）（自我联合主键）
	
	public Fans(Integer accountId, Integer fansId) {
		super();
		this.accountId = accountId;
		this.fansId = fansId;
	}
	

	public Fans(Account account, Integer fansId) {
		super();
		this.setAccount(account);
		this.fansId = fansId;
	}


	public Fans() {
		super();
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public Integer getFansId() {
		return fansId;
	}

	public void setFansId(Integer fansId) {
		this.fansId = fansId;
	}


	public Account getAccount() {
		return account;
	}


	public void setAccount(Account account) {
		this.account = account;
	}
	
	
}
